angular.module('faApp')
  .service('orderPhoService', [ 'ajaxService',function (ajaxService) {

    this.query = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("ORDER_PHO_DETAIL"),cfg || {});
    };  

    this.edit = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("UPDATE_ORDER_PHO"),cfg || {});
    }; 

    this.add = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ADD_ORDER_PHO"),cfg || {});
    }; 

    this.addPEVC = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("ADD_ORDER_PEVC_PHO"),cfg || {});
    }; 
}]);
 




